import { createApp } from 'vue'
import App from './App.vue'
import routers from '@/router'

// vue3原始写法
// createApp(App).mount('#app')

// 改写
const app = createApp(App)
app.use(routers)
app.mount('#app')